package com.zzy;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 5 )
public class StartComment2 implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        System.out.println("测试Springboot启动就执行的代码!--implements CommandLineRunner");
    }
}
